# encoding: utf-8
from django.test import TestCase

# Create your tests here.
import weather
import checkIP

print weather.getCityWeatherByCityName("福州")
ip = "115.27.255.255"
cityName = checkIP.ip_location(ip)
n = cityName.__len__()
print (cityName[0:n-1])
